package com.study.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description 接口调用相关的配置
 * @author hw
 * @date 2020/10/9 19:18:03
 */
@Component
@ConfigurationProperties(prefix = "apiconfig")
@Data
public class ApiConfig {

    private String url;

    private Integer port;

    private String personMethod;

    private String carMethod;

}